#include <stdio.h>
 
int main(int argc, char *argv[])
{
    extern char **environ;
    int i = 0;
    for(; environ[i]; i++)
    {
    	printf("environ[%d]:%s\n",i,environ[i]);
    }
    return 0;
}
